﻿<%@ Page Language="vb" AutoEventWireup="false" CodeBehind="BusquedaTarifa.aspx.vb" Inherits="webNaviera.BusquedaTarifa" %>

<head>

<base target=_self></base>

    <style type="text/css">
        .style2
        {
            font-size: xx-small;
            width: 85px;
            height: 19px;
        }
        .style3
        {
            width: 199px;
        }
        .style5
        {
            font-size: xx-small;
            height: 24px;
            width: 85px;
        }
        .style8
        {
            height: 30px;
            font-size: xx-small;
        }
        .style10
        {
            font-size: x-small;
            height: 22px;
            text-align: center;
            font-weight: 700;
        }
        .style11
        {
            font-size: xx-small;
            width: 6px;
            height: 19px;
        }
        .style12
        {
            font-size: xx-small;
            height: 24px;
            width: 6px;
        }
        .style13
        {
            font-size: x-small;
            width: 6px;
            height: 16px;
        }
        .style15
        {
            height: 30px;
            width: 6px;
            font-size: xx-small;
        }
        .style21
        {
            font-size: xx-small;
            height: 22px;
            width: 91px;
        }
        .style22
        {
            width: 91px;
        }
        .style25
        {
            height: 30px;
            width: 91px;
        }
        .style29
        {
            font-size: x-small;
            height: 22px;
            width: 17px;
        }
        .style31
        {
            width: 17px;
            height: 16px;
        }
        .style32
        {
            height: 30px;
            width: 17px;
        }
        .style33
        {
            font-size: xx-small;
        }
        .style34
        {
            font-size: x-small;
        }
        .style40
        {
            font-size: x-small;
            height: 22px;
            text-align: center;
            font-weight: 700;
            width: 6px;
        }
        .style41
        {
            width: 199px;
            height: 19px;
        }
        .style42
        {
            width: 91px;
            height: 19px;
        }
        .graybutton 
{
	text-decoration:none;
	BORDER: solid 1px #aaaaaa; FONT-WEIGHT: normal; FONT-SIZE: 9px; CLIP: rect(1px 1px 1px 1px); 
	COLOR: #333333; FONT-FAMILY: Verdana, Arial, Helvetica, sans-serif; BACKGROUND-COLOR: #eeeeee;
	font-weight:bold;
            height: 18px;
        }

        </style>
</head>
<script>
    function cerrarse() {
        window.close()
    } 

 
 
function btnNuevo0_onclick() {

}

function btnSalir_onclick() {

}

</script>
<body style="height: 282px; width: 621px">
<form id="form1" runat="server"> 
	<table style="border-width: thin; background-color: #FFFFFF; font-family: Arial; font-size: 10px; width: 493px; background-repeat: repeat; height: 310px;" 
        cellspacing="0" cellpadding="0" border="0"> 
		<tr class="TRlist3">
			<td class="style10" colspan="5">&nbsp;</td>
		</tr>
		<tr class="TRlist3">
			<td class="style10" colspan="5"><u><strong style="color: #000080">Búsqueda de Tarifa 
                Flete</strong></u></td>
		</tr>
		<tr class="TRlist3">
			<td class="style40">&nbsp;</td>
			<td colspan="2" style="height: 22px" class="style34">&nbsp;</td>
			<td class="style21">&nbsp;</td>
			<td class="style29">&nbsp;</td>
		</tr>
		<tr class="TRlist3">
			<td class="style11"></td>
			<td class="style2">Cod. Tarifa</td>
			<td class="style41">
                <span class="style33">
                <asp:TextBox ID="txtCodigo" runat="server" Width="128px" MaxLength="50" 
                    Height="23px"></asp:TextBox>
                </span>
                </td>
			<td class="style42" valign="top">
                  <asp:Button ID="btnConsultar" class="graybutton" runat="server" 
                    Text="Consultar" Width="100px" />
            </td>            
		</tr>		
		<tr class="TRlist3">
			<td class="style12">&nbsp;</td>
			<td class="style5">Descripción:</td>
			<td class="style3">               
                <span class="style33">
                <asp:TextBox ID="txtDescripcion" runat="server" Width="219px" MaxLength="50" 
                    Height="23px"></asp:TextBox>
                </span>
                </td>

		    <td class="style22">
                  <asp:Button ID="btnSeleccionar" class="graybutton" runat="server" 
                    Text="Seleccionar" Width="100px" />
            </td>
		</tr>
		<tr class="TRlist3">
			<td class="style12">&nbsp;</td>
			<td class="style5">&nbsp;</td>
			<td class="style3">               
				&nbsp;</td>

		    <td class="style22">
                  <asp:Button ID="btnSalir" class="graybutton" runat="server" 
                    Text="Salir" Width="100px" />
            </td>
		</tr>		
		<tr class="TRlist3">
			<td class="style12">&nbsp;</td>
			<td class="style5">&nbsp;</td>
			<td class="style3">               
				&nbsp;</td>

		    <td class="style22">
                  &nbsp;</td>
		</tr>		
		<tr class="TRlist3"></td>
		</tr>
		<tr class="TRlist3">
			<td class="style13">&nbsp;</td>
			<td   colspan="3">
        <asp:GridView ID="dtgTarifa" runat="server" 
        AutoGenerateColumns="False" Font-Names="Arial" Font-Size="XX-Small" Width="461px" 
                    BackColor="White" BorderColor="#3366CC" BorderStyle="None" BorderWidth="1px" 
                    CellPadding="4" AllowPaging="True" OnPageIndexChanging="Cambiarpagina"  PageSize="6">
        <Columns>
            <asp:TemplateField HeaderText="Seleccionar">
              <ItemTemplate>
                   <asp:CheckBox ID="chkSeleccionar" runat="server"   />
                   <asp:Label ID="lblcodigo" runat="server" Text='<%#Eval("Codigo") %>'  CausesValidation="False"
                                    Visible="False"></asp:Label> 
                   <asp:Label ID="lblDescripcion" runat="server" Text='<%#Eval("Descripcion") %>'  CausesValidation="False"
                                    Visible="False"></asp:Label> 
             
              </ItemTemplate>
                <HeaderStyle Width="3px" />
            </asp:TemplateField>

            <asp:BoundField DataField="Codigo" HeaderText="Código" />
            <asp:BoundField DataField="Descripcion" HeaderText="Descripción" />
           
        </Columns>
            <FooterStyle BackColor="#99CCCC" ForeColor="#003399" />
            <HeaderStyle BackColor="#003399" ForeColor="#CCCCFF" Font-Bold="True" />
            <PagerStyle BackColor="#99CCCC" ForeColor="#003399" HorizontalAlign="Left" />
            <RowStyle BackColor="White" ForeColor="#003399" />
            <SelectedRowStyle BackColor="#009999" Font-Bold="True" ForeColor="#CCFF99" />
            <SortedAscendingCellStyle BackColor="#EDF6F6" />
            <SortedAscendingHeaderStyle BackColor="#0D4AC4" />
            <SortedDescendingCellStyle BackColor="#D6DFDF" />
            <SortedDescendingHeaderStyle BackColor="#002876" />
    </asp:GridView> 
            </td>
			<td class="style31" valign="top">
			    &nbsp;</tr>		 
				
		<tr>
			<td class="style15" style="text-align:center ">
			    &nbsp;</td>
			<td class="style8" colspan="2" style="text-align:center ">
			    &nbsp;&nbsp;&nbsp;
				  <br />
				  </td>
			<td class="style25" style="text-align:center ">
			    &nbsp;</td>
			<td class="style32" style="text-align:center ">
			    &nbsp;</td>
		</tr>
		 
		<tr>
			<td class="style15" style="text-align:center ">
			    &nbsp;</td>
			<td class="style8" colspan="2" style="text-align:center ">
			    &nbsp;</td>
			<td class="style25" style="text-align:center ">
			    &nbsp;</td>
			<td class="style32" style="text-align:center ">
			    &nbsp;</td>
		</tr>
		 
		<tr>
			<td class="style15" style="text-align:center ">
			    &nbsp;</td>
			<td class="style8" colspan="2" style="text-align:center ">
      <asp:Label ID="lblError" runat="server" Font-Bold="True" ForeColor="#FF3300" 
          Text="No existe información a mostrar" Font-Size="XX-Small" Visible="False"></asp:Label>
				  </td>
			<td class="style25" style="text-align:center ">
			    &nbsp;</td>
			<td class="style32" style="text-align:center ">
			    &nbsp;</td>
		</tr>
		 
	</table>

</form>

